<{include file="admin/public/header.tpl"}>
		<div id="main">
		  	<div class="head-dark-box">
				<div class="tit">后台管理->图片管理->图片列表</div>
			</div>	
			<{ include file="admin/public/title.tpl" }>
		    <form  method="post" action="admin.php?m=image&a=del&pid=<{$pid}>&page=<{$page}>" onsubmit="return confirm('你确定要删除选中的图片项吗?')">
			<div class="msg-box">
				<ul class="viewmess">
					<li class="light-row">
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;请从相册中选择需要编辑的图片&nbsp;&nbsp; <{ $select }>	
					</li>
					<{ if $showType eq "thumb" }>
					     <hr>
					     <div class="picthumb">
					     <{ section name=tu loop=$pics }>
						<div class="pic_list">	
							<{ if $pics[tu].hasThumb eq 1 }>
								<a href="javascript:newopen(<{ $pics[tu].id }>)"><img alt="<{ $pics[tu].picTitle }>" src="<{ $path}>th_<{ $pics[tu].picName }>" width="100" height="100"></a><br>
							<{ else }>
								<a href="javascript:newopen(<{ $pics[tu].id }>)"><img alt="<{ $pics[tu].picTitle }>" src="<{ $path}><{ $pics[tu].picName }>" width="100" height="100"></a><br>
							<{ /if }>
							<input type="checkbox" name="id[]" value="<{ $pics[tu].id }>">	
							<a href="javascript:newopen(<{ $pics[tu].id }>)"><{ $pics[tu].picTitle }></a><br>
						
							【<a href="admin.php?m=image&a=mod&id=<{ $pics[tu].id }>">修改</a>/<a onclick="return confirm('确定要删除图片<{ $pics[tu].picTitle }>吗？')" href="admin.php?m=image&a=del&id=<{ $pics[tu].id }>&pid=<{$pid}>&page=<{$page}>">删除</a>】
					      	</div>
					    <{ sectionelse }>
						<li class="light-row">
							该类中没有需要的图片
						</li>
					    <{ /section }>
					    </div>
					<{ elseif $showType eq "list" }>
					    	<li class="dark-row">
							<span class="list_width width_font">标&nbsp;&nbsp;题</span>
							<span class="list_width width_font">描&nbsp;&nbsp;述</span>
							<span class="list_width width_font">缩略/水印</span>
							<span class="list_width width_font">操&nbsp;&nbsp;作</span>
						</li>
				            <{ section name=tu loop=$pics }>
						<li class="light-row" style="padding-top:2px; padding-bottom:2px">
							<span class="list_width icon"><input type="checkbox" name="id[]" value="<{ $pics[tu].id }>"><a href="javascript:newopen(<{ $pics[tu].id }>)"><{ $pics[tu].picTitle }></a></span>
							<span class="list_width"><{ $pics[tu].description }></span>
							<span class="list_width"><{ if $pics[tu].hasThumb eq 1 }>有<{ else }>无<{ /if }>/<{ if $pics[tu].hasMark eq 1 }>有<{ else }>无<{ /if }></span>
				
							<span class="list_width">
							【<a href="admin.php?m=image&a=mod&id=<{ $pics[tu].id }>">修改</a>】
							【<a onclick="return confirm('确定要删除图片<{ $pics[tu].picTitle }>吗？')" href="admin.php?m=image&a=del&id=<{ $pics[tu].id }>&pid=<{$pid}>&page=<{$page}>">删除</a>】
							</span>
						</li>
					    <{ sectionelse }>
						<li class="light-row">
							本页没有需要的图片
						</li>
					    <{ /section }>
					<{ /if }>
				
					<li class="dark-row">
						<span class="col_width" style="margin-left:15px"> 
							<a href="javascript:select()">全选</a>/<a href="javascript:fanselect()">反选</a>/<a href="javascript:noselect()">全不选</a>&nbsp;&nbsp;选中项: 
							<input  name="delb" type="image" title="删除"  src="public/images/admin/delete.gif">&nbsp;&nbsp;
						 </span> 
						<span class="right">
							<{$fpage}>
						</span>
					</li>
				</ul>	
			</div>
                    </form>
		</div>
<div id="timer">
	<p><span class="exetime">当前脚本执行用时</span><span class="red_font"><{ $timer }></span>秒&nbsp;</p>	
</div>
<{include file="admin/public/footer.tpl"}>	


